import request from '@/utils/request'

// 汇总
export const get_total_data = data => {
    return request({
        url: `/seniorStat/statHuiZong`,
        method: 'get',
        params:data
    })
}

// 长者类型分析
export const get_type_data = data => {
    return request({
        url: `/seniorStat/statElderFenxi`,
        method: 'get',
        params:data
    })
}

// 长者居住分析
export const get_room_data = data => {
    return request({
        url: `/seniorStat/statElderliveCode`,
        method: 'get',
        params:data
    })
}

// 拜访业务分析
export const get_visit_data = data => {
    return request({
        url: `/seniorStat/last12StatElderVisitNum`,
        method: 'get',
        params:data
    })
}